package com.vspush.manage;

import java.net.InetSocketAddress;

import com.vspush.manage.type.MesssageType;

public class LiveMessge extends MessageAbstract {

	@Override
	public void sendMessage(String userName, String msg) {
		this.sendMessage(userName, msg,MesssageType.ok);
	}
	
	public void online(InetSocketAddress  isa,String userName) {
		this.sendMessage(isa, "",MesssageType.ok);
	}
	
	public void offline(InetSocketAddress  isa,String userName) {
		this.sendMessage(isa,"",MesssageType.un);
	}

}
